Microsoft DirectX 8.1 (C++)

CDrawImage::SetSourceRect

The SetSourceRect method sets the source rectangle for the video.

Syntax

void SetSourceRect(
    RECT *pSourceRect
);

Parameters

pSourceRect

Pointer to the new source rectangle.

Return Value

No return value.

Remarks

The source rectangle should already have been validated before calling this member function so that the source rectangle specified will not extend over the edges of the available video.

See Also